//package com.myself.core.config
//
//import com.fasterxml.jackson.databind.ObjectMapper
//import com.fasterxml.jackson.module.kotlin.kotlinModule
//import org.ktorm.jackson.KtormModule
//import org.springframework.beans.factory.annotation.Autowired
//import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer
//import org.springframework.context.annotation.Bean
//import org.springframework.context.annotation.Configuration
//import org.springframework.context.annotation.Lazy
//import org.springframework.http.converter.HttpMessageConverter
//import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
//import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer
//
//@Configuration
//open class JacksonConfig : WebMvcConfigurer {
//    @Bean
//    open fun jacksonCustomizer(): Jackson2ObjectMapperBuilderCustomizer {
//        return Jackson2ObjectMapperBuilderCustomizer { builder: Jackson2ObjectMapperBuilder ->
//            builder.modulesToInstall(KtormModule())
//        }
//    }
//}